﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using HZ.Supervise.Model;
using HZ.Supervise.Model.View;

using HZ.Supervise.IBLL;
using HZ.Supervise.Model;
using HZ.Supervise.DAL;

namespace HZ.Supervise.BLL
{
   public class BLL_Company:IBLL_Company
    {
        /// <summary>
        /// 配送企业汇总统计
        /// </summary>
        /// <param name="vs"></param>
        /// <param name="currentpage"></param>
        /// <param name="pagesize"></param>
        /// <param name="totalrecord"></param>
        /// <returns></returns>
       public DataTable GetCompanyTotalInfoPS(HZ.Supervise.Model.SuperviseQuery vs, int currentpage, int pagesize, out int totalrecord)
       {
           return DAL_Company.GetCompanyTotalInfoPS(vs, currentpage, pagesize,out totalrecord);
       }
       public DataTable GetCompanyTotalInfoSC(HZ.Supervise.Model.SuperviseQuery vs, int currentpage, int pagesize, out int totalrecord)
       {
           return DAL_Company.GetCompanyTotalInfoSC(vs, currentpage, pagesize, out totalrecord);
       }
        /// <summary>
        /// 采购详情（高值）
        /// </summary> 
       public DataTable GetTotalDetail(HZ.Supervise.Model.SuperviseQuery vs, int currentpage, int pagesize, out int totalrecord)
       {
           return DAL_Company.GetTotalDetail(vs, currentpage, pagesize, out totalrecord); 
       }
       /// <summary>
       /// 采购详情（低值）
       /// </summary> 
       public DataTable GetTotalDetail_DZ(HZ.Supervise.Model.SuperviseQuery vs, int currentpage, int pagesize, out int totalrecord)
       { 
           return DAL_Company.GetTotalDetail_DZ(vs, currentpage, pagesize, out totalrecord);
       }
       /// <summary>
        /// 配送企业响应详情
        /// </summary>
        /// <param name="vs"></param>
        /// <param name="currentpage"></param>
        /// <param name="pagesize"></param>
        /// <param name="totalrecord"></param>
        /// <returns></returns>
       public DataTable GetTotalDetailByComResponse(HZ.Supervise.Model.SuperviseQuery vs, int currentpage, int pagesize, out int totalrecord)
       {
           return DAL_Company.GetTotalDetailByComResponse(vs, currentpage, pagesize, out totalrecord);
       }
       /// <summary>
       /// 配送详情
       /// </summary>
       /// <param name="vs"></param>
       /// <param name="currentpage"></param>
       /// <param name="pagesize"></param>
       /// <param name="totalrecord"></param>
       /// <returns></returns>
       public DataTable GetTotalDetailByDistribution(HZ.Supervise.Model.SuperviseQuery vs, int currentpage, int pagesize, out int totalrecord)
       {
           return DAL_Company.GetTotalDetailByDistribution(vs, currentpage, pagesize, out totalrecord);
       
       }
       /// <summary>
       /// 入库详情
       /// </summary>
       /// <param name="vs"></param>
       /// <param name="currentpage"></param>
       /// <param name="pagesize"></param>
       /// <param name="totalrecord"></param>
       /// <returns></returns>
       public DataTable GetTotalDetailByWarehouse(HZ.Supervise.Model.SuperviseQuery vs, int currentpage, int pagesize, out int totalrecord)
       {
           return DAL_Company.GetTotalDetailByWarehouse(vs, currentpage, pagesize, out totalrecord);

       }

       /// <summary>
       /// 销售详情
       /// </summary>
       /// <param name="vs"></param>
       /// <param name="currentpage"></param>
       /// <param name="pagesize"></param>
       /// <param name="totalrecord"></param>
       /// <returns></returns>
       public DataTable GetTotalDetailBySell(HZ.Supervise.Model.SuperviseQuery vs, int currentpage, int pagesize, out int totalrecord)
       {
           return DAL_Company.GetTotalDetailBySell(vs, currentpage, pagesize, out totalrecord);

       }

       /// <summary>
       /// 退货详情
       /// </summary>
       /// <param name="vs"></param>
       /// <param name="currentpage"></param>
       /// <param name="pagesize"></param>
       /// <param name="totalrecord"></param>
       /// <returns></returns>
       public DataTable GetTotalDetailByReturn(HZ.Supervise.Model.SuperviseQuery vs, int currentpage, int pagesize, out int totalrecord)
       {
           return DAL_Company.GetTotalDetailByReturn(vs, currentpage, pagesize, out totalrecord);

       }

        /// <summary>
        /// 库存详情
        /// </summary>
        /// <param name="vs"></param>
        /// <param name="currentpage"></param>
        /// <param name="pagesize"></param>
        /// <param name="totalrecord"></param>
        /// <returns></returns>
       public DataTable GetTotalDetailByStock(HZ.Supervise.Model.SuperviseQuery vs, int currentpage, int pagesize, out int totalrecord)
       {
           return DAL_Company.GetTotalDetailByStock(vs, currentpage, pagesize, out totalrecord);

       }

       /// <summary>
       /// 药政处报表
       /// </summary>
       /// <param name="vs"></param>
       /// <param name="currentpage"></param>
       /// <param name="pagesize"></param>
       /// <param name="totalrecord"></param>
       /// <returns></returns>
       public DataTable ReportByYaoZheng(HZ.Supervise.Model.SuperviseQuery vs, int currentpage, int pagesize, out int totalrecord)
       {
           return DAL_Company.ReportByYaoZheng(vs, currentpage, pagesize, out totalrecord);
       
       }

        /// <summary>
        /// 没有网上采购的医疗机构
        /// </summary>
        /// <param name="vs"></param>
        /// <param name="currentpage"></param>
        /// <param name="pagesize"></param>
        /// <param name="totalrecord"></param>
        /// <returns></returns>
       public DataTable PurchaseNotNetByHospital(HZ.Supervise.Model.SuperviseQuery vs, int currentpage, int pagesize, out int totalrecord)
       {
           return DAL_Company.PurchaseNotNetByHospital(vs, currentpage, pagesize, out totalrecord);

       }

       /// <summary>
       /// 县区实时汇总
       /// </summary>
       /// <param name="vs"></param>
       /// <param name="currentpage"></param>
       /// <param name="pagesize"></param>
       /// <param name="totalrecord"></param>
       /// <returns></returns>
       public DataTable AreaStatisticsTotal(HZ.Supervise.Model.SuperviseQuery vs, int currentpage, int pagesize, out int totalrecord)
       {
           return DAL_Company.AreaStatisticsTotal(vs, currentpage, pagesize, out totalrecord);
       
       }

    }
}

 